<?php
/**
 * 数据调用接口
 */
class controller_var extends controller_base {
	/**
	 * list
	 */
	public function action_list() {
		$model_var = new model_var();
		$res = $model_var->find_all(1, '`key`, var_id');
		
		$model_var->get_all('backup_to_email');
		$this->assign('res', $res);
	}
}